// IMusicService.aidl
package com.example.musicplayer;
import com.example.musicplayer.IMusicServiceCallback;

// Declare any non-default types here with import statements

interface IMusicService {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
//    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
//            double aDouble, String aString);

    // 播放音乐
    void pausePlay();
    // 停止音乐
    void ContinuePlay();
    // 进度条
    void seekTo(int progress);
    // 播放音乐（列表中的音乐）
    void Play(int i);

    void RegisterCallback(IMusicServiceCallback callback);
    void unRegisterCallback(IMusicServiceCallback callback);
}